#pragma once
#include <vector>
#include <string>
#include <algorithm>

using namespace std;

class MySort{
public:
	MySort(int i):index(i){}
	bool operator()(vector<int>& v1,vector<int>& v2){
		return v1[index]<v2[index];
	}
private:
	int index;
};